package com.polaris.live.utils.sensor.base

import androidx.appcompat.app.AppCompatActivity

/**
 * 函数模块
 *
 * @author Created by lucas on 2023/10/25 17:07
 * @since 1.0.0
 */
class FunctionModule(
    context: AppCompatActivity,
    override val title: String,
    private val mOnRunModuleListener: OnRunModuleListener,
    el: OnEnabledModuleListener? = null
) : AbstractModule(context, el) {

    override fun runModule() {
        mOnRunModuleListener.onRunModule()
    }

}

fun interface OnRunModuleListener {

    fun onRunModule()
}